import axios from '~/plugins/axios';

//查询--根据渠道和时间查询24小时注册趋势
export const getSearchTrendChart =  function({ commit, state }, preload)  {
	return axios.post(process.env.baseUrl + '/brandCookie/getList',preload||{})
	.catch(function (error) {	
    });
};

//查询--b2c运营后台根据条件查询推广日志列表
export const getPromotionLinkList =  function({ commit, state }, preload)  {
	return axios.post(process.env.baseUrl + '/admin/tracklog/get',preload||{})
	.catch(function (error) {	
    });
};

//查询--维权运营根据条件查询推广日志列表
export const getpromotionalLogList =  function({ commit, state }, preload)  {
	return axios.post(process.env.baseUrl + '/track/list',preload||{})
	.catch(function (error) {	
    });
};
